package com.cmc6.user.service;

import com.cmc6.common.model.dto.NotBlankId;
import com.cmc6.user.model.dto.EmailNotBlankDTO;
import com.cmc6.user.model.dto.ForgotPasswordByPhoneDTO;
import com.cmc6.user.model.dto.PhoneNotBlankDTO;
import com.cmc6.user.model.dto.UpdatePasswordByCodeDTO;

public interface ForgotPasswordService {

    String forgotPassword(EmailNotBlankDTO dto);

    String getCodeByOpen(NotBlankId notBlankId);

    String updatePasswordByCode(UpdatePasswordByCodeDTO dto);

    String forgotPasswordByPhoneSendCode(PhoneNotBlankDTO dto);

    String forgotPasswordByPhone(ForgotPasswordByPhoneDTO dto);

}
